package com.shire.web.console.dao.device;

import com.shire.web.console.model.device.DeviceKey;
import com.shire.web.console.model.device.DeviceKeyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceKeyDao {
    long countByExample(DeviceKeyExample example);

    int deleteByExample(DeviceKeyExample example);

    int deleteByPrimaryKey(Integer keyId);

    int insert(DeviceKey record);

    int insertSelective(DeviceKey record);

    List<DeviceKey> selectByExample(DeviceKeyExample example);
    int batchInsertSelective(@Param(value = "recordList") List<DeviceKey> record);
    DeviceKey selectByPrimaryKey(Integer keyId);

    int updateByExampleSelective(@Param("record") DeviceKey record, @Param("example") DeviceKeyExample example);

    int updateByExample(@Param("record") DeviceKey record, @Param("example") DeviceKeyExample example);

    int updateByPrimaryKeySelective(DeviceKey record);

    int updateByPrimaryKey(DeviceKey record);
}